import { request } from "../../utils/request.js"


// 获取购物车集合
export const getShoppingCartList = (params) => {
	return request({
		url: '/shopping/cart/list',
		method: 'GET',
		params
	})
}

// 查询默认地址
export const getAddressBookDefault = (params) => {
	return request({
		url: '/address/default',
		method: 'GET',
		params
	})
}


// 提交订单信息
export const orderPay = (params) => {
	return request({
		url: '/order/nativePay',
		method: 'POST',
		params
	})
}